package com.baoteng.rbspy.model.request.quote;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class MainRequest {

	/**
	 * 系统生成的随机投保单号
	 */
	String randomProposalNo;

	/**
	 * 编辑类型：RENEWAL|UPDATE|NEW
	 */
	String editType;

	/**
	 * 商业险交强险勾选标志（用于费改后） 两位第一位商业 第二位交强 1代表投保0代表不投保
	 */
	String isBICI;

	/**
	 * 续保 标识 1. 针对上年保单是"单商业"、"单交强"、"混单"三种情况，续保保单也是"单商业"、"单交强"、"混单"三种情况 2.
	 * prpqmain表中新增一字段renewalflag，有两位。第一位表示上年单是'单商业-1'、'单交强-2'、'混保-3'。第二位表示今年单是'单商业-1'、'单交强-2'、'混保-3'
	 * Note：新保/转保的保单的第一位为'0'
	 */
	String renewalFlag;

	/**
	 * 续保保单号
	 */
	String renewalPolicyNo;

	String currentDateTime = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));

	String currentDate = LocalDate.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd"));

	/**
	 * 商业投保单
	 */
	String proposalNoBI;

	/**
	 * 交强投保单
	 */
	String proposalNoCI;

	/**
	 * 归属机构
	 */
	String comCode;

	/**
	 * 归属机构名称
	 */
	String comName;

	/**
	 * 归属人 代码
	 */
	String handler1Code;

	/**
	 * 归属人 名
	 */
	String handler1CodeDes;

	String handler1CodeUni;

	/**
	 * 经办人代码
	 */
	String handlerCode;

	/**
	 * 经办人名
	 */
	String handlerCodeDes;

	String handlerCodeUni;

	/**
	 * 业务来源 0-----传统直销业务 -- 1-----个人代理业务-- 2-----专业代理业务-- 3-----兼业代理业务--
	 * 4-----经纪业务-- 53-----网上业务-
	 */
	String businessNature;

	/**
	 * 来源名称
	 */
	String businessNatureTranslation;
	
	/**
	 * 渠道代码
	 */
	String agentCode;
	
	/**
	 * 渠道名称
	 */
	String prpCmainagentName;
	
	/**
	 * 出单机构代码
	 */
	String makeCom;
	
	/**
	 * 出单机构
	 */
	String makeComDes;
	
	/**
	 * 商业保险起期
	 */
	String startDateBI;
	
	String endDateBI;
	
	/**
	 * 交强起期
	 */
	String startDateCI;
	
	String endDateCI;

	public String getRandomProposalNo() {
		return randomProposalNo;
	}

	public void setRandomProposalNo(String randomProposalNo) {
		this.randomProposalNo = randomProposalNo;
	}

	public String getEditType() {
		return editType;
	}

	public void setEditType(String editType) {
		this.editType = editType;
	}

	public String getIsBICI() {
		return isBICI;
	}

	public void setIsBICI(String isBICI) {
		this.isBICI = isBICI;
	}

	public String getRenewalFlag() {
		return renewalFlag;
	}

	public void setRenewalFlag(String renewalFlag) {
		this.renewalFlag = renewalFlag;
	}

	public String getRenewalPolicyNo() {
		return renewalPolicyNo;
	}

	public void setRenewalPolicyNo(String renewalPolicyNo) {
		this.renewalPolicyNo = renewalPolicyNo;
	}

	public String getCurrentDateTime() {
		return currentDateTime;
	}

	public void setCurrentDateTime(String currentDateTime) {
		this.currentDateTime = currentDateTime;
	}

	public String getCurrentDate() {
		return currentDate;
	}

	public void setCurrentDate(String currentDate) {
		this.currentDate = currentDate;
	}

	public String getProposalNoBI() {
		return proposalNoBI;
	}

	public void setProposalNoBI(String proposalNoBI) {
		this.proposalNoBI = proposalNoBI;
	}

	public String getProposalNoCI() {
		return proposalNoCI;
	}

	public void setProposalNoCI(String proposalNoCI) {
		this.proposalNoCI = proposalNoCI;
	}

	public String getComCode() {
		return comCode;
	}

	public void setComCode(String comCode) {
		this.comCode = comCode;
	}

	public String getComName() {
		return comName;
	}

	public void setComName(String comName) {
		this.comName = comName;
	}

	public String getHandler1Code() {
		return handler1Code;
	}

	public void setHandler1Code(String handler1Code) {
		this.handler1Code = handler1Code;
	}

	public String getHandler1CodeDes() {
		return handler1CodeDes;
	}

	public void setHandler1CodeDes(String handler1CodeDes) {
		this.handler1CodeDes = handler1CodeDes;
	}

	public String getHandler1CodeUni() {
		return handler1CodeUni;
	}

	public void setHandler1CodeUni(String handler1CodeUni) {
		this.handler1CodeUni = handler1CodeUni;
	}

	public String getHandlerCode() {
		return handlerCode;
	}

	public void setHandlerCode(String handlerCode) {
		this.handlerCode = handlerCode;
	}

	public String getHandlerCodeDes() {
		return handlerCodeDes;
	}

	public void setHandlerCodeDes(String handlerCodeDes) {
		this.handlerCodeDes = handlerCodeDes;
	}

	public String getHandlerCodeUni() {
		return handlerCodeUni;
	}

	public void setHandlerCodeUni(String handlerCodeUni) {
		this.handlerCodeUni = handlerCodeUni;
	}

	public String getBusinessNature() {
		return businessNature;
	}

	public void setBusinessNature(String businessNature) {
		this.businessNature = businessNature;
	}

	public String getBusinessNatureTranslation() {
		return businessNatureTranslation;
	}

	public void setBusinessNatureTranslation(String businessNatureTranslation) {
		this.businessNatureTranslation = businessNatureTranslation;
	}

	public String getAgentCode() {
		return agentCode;
	}

	public void setAgentCode(String agentCode) {
		this.agentCode = agentCode;
	}

	public String getPrpCmainagentName() {
		return prpCmainagentName;
	}

	public void setPrpCmainagentName(String prpCmainagentName) {
		this.prpCmainagentName = prpCmainagentName;
	}

	public String getMakeCom() {
		return makeCom;
	}

	public void setMakeCom(String makeCom) {
		this.makeCom = makeCom;
	}

	public String getMakeComDes() {
		return makeComDes;
	}

	public void setMakeComDes(String makeComDes) {
		this.makeComDes = makeComDes;
	}

	public String getStartDateBI() {
		return startDateBI;
	}

	public void setStartDateBI(String startDateBI) {
		this.startDateBI = startDateBI;
	}

	public String getEndDateBI() {
		return endDateBI;
	}

	public void setEndDateBI(String endDateBI) {
		this.endDateBI = endDateBI;
	}

	public String getStartDateCI() {
		return startDateCI;
	}

	public void setStartDateCI(String startDateCI) {
		this.startDateCI = startDateCI;
	}

	public String getEndDateCI() {
		return endDateCI;
	}

	public void setEndDateCI(String endDateCI) {
		this.endDateCI = endDateCI;
	}
}
